ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / CommonShaderStageBase Class / SetConstantBuffers Method / SetConstantBuffers(Int32,Int32,Buffer[]) Method
Index into the device's zero-based array to begin setting constant buffers to (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1).
Number of buffers to set (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot).
Array of constant buffers (see Buffer) being given to the device.

In This Topic
    SetConstantBuffers(Int32,Int32,Buffer[]) Method
    In This Topic
    Set the constant buffers used by the shader pipeline stage.
    Syntax
    'Declaration
     
    Public Overloads Sub SetConstantBuffers( _
       ByVal startSlot As System.Integer, _
       ByVal numBuffers As System.Integer, _
       ByVal ParamArray constantBuffers() As Buffer _
    ) 
    public void SetConstantBuffers( 
       System.int startSlot,
       System.int numBuffers,
       params Buffer[] constantBuffers
    )

    Parameters

    startSlot
    Index into the device's zero-based array to begin setting constant buffers to (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1).
    numBuffers
    Number of buffers to set (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot).
    constantBuffers
    Array of constant buffers (see Buffer) being given to the device.
    See Also